<?php

$server = new Swoole\Http\Server('0.0.0.0',13010);

$server->on('request',function($request,$response){
	var_dump($request->server);
	$response->header('Content-Type','text/html;charset=utf-8');
	$response->end('<h2>Hello Swoole!'.rand(1000,9999).'</h1>');
});

$server->start();

